﻿/*----------------------------------------------------------------
  //Copyright (C) 2012 赵国伟
  //文件功能描述：入库管理
  //创建人：赵国伟
  //生成时间：2012/06/09 16:15:00
//----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Shopping.Common;
using Shopping.Model;
using Shopping.BLL;


public partial class Manage_StockInsManage : BaseManagePage
{
    protected string SelectOptionOfStores;
    protected string SelectOptionOfSupliers;
    protected string SelectOptionOfStatus;
    protected QueryStockInsAsPage q;
    protected List<StockInsInfo> list;

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            q = new QueryStockInsAsPage(true);
            SelectOptionOfStores = Shopping.BLL.StoresManage.QueryStoresToSelectOption(false, q.StoreID.ToString());
            SelectOptionOfSupliers = Shopping.BLL.StoresManage.QuerySuppliersToSelectOption(false, q.SupplierID.ToString());
            SelectOptionOfStatus = Utility.GetEnumToSelectOption<StockInOutStatus>("");
            StoresManage bllStore = new StoresManage();
            list = bllStore.QueryStockInsAsPage(q);

        }
    }

}